Fix bugs where unicode arguments could not be passed to ``testdir.runpytest`` on Python 2.