reporting: bug fix: avoid underscores altogether

(cherry picked from commit 359245b65b93915bfa19ae6ca922de25ffab52cf)
reporting: bug fix: Windows can't handle windows-style file separators in latex

(cherry picked from commit c0149f69d955665f34e7399f5598d4b2adb04576)