Fix windows_only fd function
Merge pull request #28 from JuliaLang/fix_win_fd

Fix windows_only fd function