build: ability to add html files as frappe.templates[filename] and related fixes to query report