deal more gracefully with YAML parse errors when invoking editor