TIL that
1) sed modifies binary files as if they were text.
2) Some webp images contain strings that could be mistaken for pieces of MediaWiki syntax.

On a totally unrelated note, a bunch of images in Pandora's Tale Wiki were corrupted. They should be fixed now.