Exit with sensible error if input file unreadable

I know this was a huge PEBKAC error, but it would have been faster to
diagnose with an earlier test and more informative error message.
Merge pull request #70 from grinsfem/test_infile

Exit with sensible error if input file unreadable