Fix path handling for HTML file reporter