The epub specification itself indicates the media types that are recognized. A reader can choose to support additional ones but need not. Use of anything outside of the recognized set requires fall backs.
So you did indeed need to truly "fix" it if you wanted an epub that meets the spec.
See
https://www.w3.org/TR/epub-33/#sec-core-media-types