Add yaml extension to the tempfile

When you write yaml using Vim or another editor which supports filetypes (http://vimdoc.sourceforge.net/htmldoc/filetype.html), it is useful to have an extension for the automated detection of the filetype.

Here I've just added the .yaml extension.