Deal with invalid utf-8 in build output
Git disallows invalid ut8-8 in commit messages