Fix diff encoding for non ascii paths and non utf-8 file encoding
Fix diff encoding for non ascii paths and non utf-8 file encoding

* The encoding of path is dependent on environment, but that of diff body is dependent on file encoding.

SaitoWu/grit_ext,gitlabhq/grit_ext