Retain file stats when copying (close #235)
Catch errors while setting permissions
Merge pull request #236 from passy/copy-modes

Retain file stats when copying