Simplified error handling for make_fdpair on Windows