Yes, your hunch was right. If I do a modify run to "depretty" the book before a second modify run to remove the Kobo/Google gunk, the output files are valid.
(If I do a single modify run to depretty *and* remove the Kobo/Google gunk, I still get mangling.)
Attached are the two files from the original mangled run.
|