Fix callback for HTML file reporter, follow-up to 0567e88fb5c3
HTML file reporter: write reference image on failing test