Use safe_yaml_load method

Remove warning:
`Called 'load_file' without the :safe option -- defaulting to safe mode.`