cli: Handle unicode config path correctly on Python 2.