better error for bad config

the error message is fairly cryptic otherwise.  Now we specifically
mention what file can't be parsed.
fix unit test
Merge pull request #69 from metridoc/better-error-on-bad-config

Better error on bad config