making command line tests mktemp not fail on mac