Proper encoding of debug MHTML file
Use EPUB as a base format
Merge branch 'epub-generation'