Fix copying of files, rsync is more reliable (and preserves attributes)