YAML.dump -> File#write