Redirect test output to files rather than the console.