Store more than just dir in s:temp_files

- Also store 'cmd', the git command that generated the temp file