junit.xml can't be written if sysout contains non-ASCII text.