# Restore mode, ownership, and any other metadata for the file. This is
# split out from the code above since the code is the same regardless of
# file type.
# Restore mode, ownership, and any other metadata for the file. This is
# split out from the code above since the code is the same regardless of
# file type.