Handle space in temporary directory path.