You can also use explodeImplodeEpub to rebuild the epub. You just drop the epub over the application and press rebuild. The new epub is rebuilt without the files on
__MACOSX
Here are the details:
https://www.mobileread.com/forums/sho...d.php?t=203822
(disclaimer: I wrote the application)