ebooks: convert content to UTF-8 more consistently (don't just assume UTF-8 content, don't include BOMs)