test_runner: junit fixes

Merged
AV
5d ago
+228-22

Fixes: https://github.com/nodejs/node/issues/67155
Fixes: https://github.com/nodejs/node/issues/67149

Adds sanitization + flushing to the Junit reporter, fixing the aforementioned issues.

Signed-off-by: avivkeller me@aviv.sh