Preserve file permissions from the original file