Force utf-8 encoding on file paths

Fixes a ton of exceptions.