Properly handle detection of binary files
3.0.2
Merge pull request #1346 from github/vmg/binary-fix

Properly detect binary blobs