Fix Bug #1268118: epub converted produces invalid .rtf file