[Support][Path][Windows] Fix dangling else. Don't call CloseHandle when CloseFD is false.