win32: Use _fstati64() instead of plain old fstat() on Windows to support file