Fix piping on windows On windows stdin and stdout have to be set to binary as otherwise windows treats it as text and converts occurences of CRLF to LF