Append .html to the temporary file, because the mime type must be correct

Otherwise the html2pdf service will thinks this is is plain text to render