Use ebook-convert to generate MOBI.