modify the mktemp command and created a generic mktempDir function