Fix input support from named pipes in Windows