Small refactoring on xslt for html headings
Create the docx file as a tempfile and return the file instead of returning a relative url. Remove unused code.