Cache file name mismatches as well

If GitHub finds exactly one match, but the filename isn’t what we were
looking for, cache that as well.
Print status code as well on non-200 responses
Revert to GitHub API beta version

“Sort of” reverts 2fc10a3 (but keeps the Accept header; we just request
a different version). I’ll have to investigate why that caused searches
by repo to break.