optionally pass temp-file options to with-temp-files
extract mktemp command generation to function
make a command to generate n temp files
list of temp files
merge defaults up top