Use `temporary-file-directory' instead of hardcoded path
Mode is "other" if not found in auto-mode-alist
Implement custom keymap when asked for an extension