Fix typo in YAML writing.