copyFile on Windows dies with binary files