Adds .markdown extension to temp files