Change dependency on safe_yaml.