[ci] Use mktemp correctly on OSX

4 jobs for conda-ci in 29 minutes and 53 seconds (queued for 5 minutes and 45 seconds)