UnicodeDecodeError in easy_install with unicode characters in sdist when LANG=C #706
As reported in the upstream bug, following the fix for #704, some packages (notably Sphinx, but any package that contains non-ascii filenames) will fail to cleanup after install with a UnicodeDecodeError in rmtree.
It sounds like the recommended fix is to provide a platform-specific workaround to pass bytes to rmtree when on Python 2 and Linux.
…systemencoding is ascii, and let posixpath work its voodoo. Fixes #706.