Fix deprecated using of Yaml::parse().

The ability to pass file names to Yaml::parse() was deprecated in 2.2 and will be removed in 3.0. Need to pass the contents of the file instead:

https://github.com/symfony/Yaml/blob/master/Yaml.php#L58