Prefer pipes over temporary files in a feeble attempt to stabilize this test on windows.