Fallback to git when calculating blob id

Fixes https://github.com/codeclimate/ruby-test-reporter/issues/56
Let's print something to `STDOUT` on `EncodingError`. That should help if there is a support request.