IPython/utils/tests/test_path.py: Only use `encode` for system functions that cannot handle unicode.
IPython/utils/tests/test_path.py: Only use `encode` for system functions that cannot handle unicode.

ipython/ipython,ipython/ipython