Fix the encoding issue - 'split': invalid byte sequence in UTF-8 (Argument Error)

Fix for the issue I created  - [Ruby-git Issue #188 'split': invalid byte sequence in UTF-8 (Argument Error)](https://github.com/schacon/ruby-git/issues/188)