Missing "/" added to temporary directory name