This takes care of normalizing newlines back to single LF instead
of CRLF.
This on itself breaks on a couple tests that accidentally seem to
be writing binary data to stdout; make sure those cases are piped
to /dev/null instead of actually written to a terminal.
This is an alternative to half of the fixes in D120546.
The intra-pipeline file descriptors are all *binary*, which is key to making the test suite pass.