on win32 use buffer size 64k to align mmaps, correct error reporting
during mmap based file copy.