remove mktemp dependancy
fix basename 'too many arguments' error when working directory path contains spaces
Merge branch 'remove-mktemp-dependancy'
Merge branch 'fix-space-in-pwd-basename-error'