Fix Yaml::parse() errors

Of course this might be just a temporary fix for:

"The ability to pass file names to Yaml::parse() was deprecated in 2.7 and will be removed in 3.0. Please, pass the contents of the file instead."
I'd rather just fix compatibility if `Yaml::parse()` accepts file contents before 2.7