Pipe Sauce Connect output into separate file

Only output it if the tests are failing and the output is needed
for debugging.