SaveAsSource
status_t SaveAsSource(const char* name);
status_t SaveAsSource(FILE* file);
keymap.SaveAsSource(output);
keymap.SaveAsSource(stdout);