[#120] Prevent encoding errors when syntax highlighting
Use global mf_log, removed from Configuration
Merge pull request #131 from bf4/handle_some_encoding_errors

[#120] Handle some encoding errors