Create temporary .yaml file

Ensure that the temporary file on edit is a yaml file.

It allows editors which are basing their syntax colouring on the extension of the file.
Merge pull request #102 from ColinHebert/patch-1

Create temporary .yaml file