[Filesystem] Changed the mode for a target file in copy() to be write only.

Stream wrappers like S3 do not support w+.