issue #997: added large file support for Windows