Fallback to git when calculating blob id

Fixes https://github.com/codeclimate/ruby-test-reporter/issues/56
Are there situations where this could return something other than a properly formed `blob_id`?