added page numbering for weasyprint generated pdfs. added file cleanup for html zip and pdf.