std.stdio: Add File.windowsHandle, fdopen and windowsHandleOpen

This moves existing code from std.process to std.stdio for public use.