Properly detect binary blobs

This fixes the issue introduced in the 3.0.0 release and supersedes https://github.com/github/linguist/pull/1175

cc @arfon