Add .markdown suffix to editor's temporary file

This way if the text editor can detect the file type.