vcsh: Support *BSD/OSX mktemp

mktemp on *BSD/OSX expects a template whereas GNU mktemp does not.
Pass a template to mktemp to make *BSD/OSX happy.

github: fixes richih/vcsh#83
vcsh: Add comments
Merge branch 'fix--mktemp_on_OSX'