Throw exception if yaml_parse_file() can not parse data.