make mkdtemp() use unicode to os.path.join a unicode path
Merge pull request #605 from est/patch-2

fix package_manager.py non-ASCII problem