change yaml.load to yaml.safe_load

Thanks to @SEJeff for the heads-up.