do more testing to make sure that mktemp calls do not fail.