mktemp: combine --tmpdir
and subdirectory info
#3568
Merged
--tmpdir
and subdirectory info
#3568