Tweak file copying