open_html: make debugging file contain passed HTML.