support GNU's mktemp as well