Don't abort processing when encountering a binary file.  Fixes #38.  Also fixes test.sh to improve regolding.