Fix large file support on Windows