'Dumps current config to yaml config file'

def save_config(self):

    try:
        self.backup_config()
    except (OSError, IOError):
        return
    with open(self.config_path, u'w') as config_file:
        config_file.write(yaml.dump(self.user_config, default_flow_style=False))
