fixing mktemp for OSX

mktemp on mac requires a prefix