Update Config.php

Throw exception if YAML file is not parsable.