Use mktemp syntax compatible with BSD/OS X.