Throw an exception if a config file that exists cannot be parsed

Fixes gh-209 in a general way