Revert "Use UTF-8 everywhere, please"

This reverts commit 5ee7404bcafbb042f960584001444b98d6baa15a.

This doesn't help, libmagic is being dumb