Bug masking config errors as 'could not find file'

Assert statements designed to verify the integrity of the config file
were inadvertently being disguised as an IOError. Duplicate settings
and other asserts would return an error that the config file could not
be found, rather than the assert message.