am 3f27558e: Merge "fix bug that passing invalid fd to fstats on win32 builds"

* commit '3f27558e29c6ebe69c56bef6bee9d6e8b26ae43b':
  fix bug that passing invalid fd to fstats on win32 builds