git-gui: handle the encoding of Git's output correctly