Improve copy-file diagnostics on MS-Windows.