testsuite: Don't write ANSI escapes to test output files.