Write YAML file.
Python dictionary.
Path
Filename.
Logger
Logger. Default is None.
Whether to sort keys. Default is True.
Whether to add checksum keyword. Default is False.