Redirecting output to files since tests are logging lots of stuff.