add template string as argument of mktemp.
BSD mktemp always requires template string.