Improve filename sanitization in JUnit formatter to handle more problematic characters