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

This moves existing code from std.process to std.stdio for public use.
Merge pull request #1888 from CyberShadow/std-stdio-handle

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