Include file extension in transient save dialog

If extension information for the transient file is available (e.g. if the syntax
has been manually set by the user), the Save As dialog suggests "editorname.ext"
as filename.
Otherwise, the dialog suggests "editorname" only.