Handling some more error situations with invalid YAML files.