Replace yaml.load with yaml.safe_load
Replace the commands that were printing warnings to the screen about using an unsafe/deprecated "yaml.load" function.
Since load was deprecated in 5.1, ensure that we have a version greater than or equal to it.