Use mktemp -t, OS X doesn't have a sane default