Support OS X's mktemp.