Added .markdown suffix to tmp file