Properly close the JUnit test suite output streams to force flushing and avoid zero-length files