Fix EPUB generation