Fix loading with SafeYAML

`load_file` method is not defined for `SafeYAML` unless
`safe_yaml/load` is required.