file-win32: Switch to byte-based callbacks