Description
We have a contrived way to deal with paths working around some bugs on Python2 on Linux.
This means that we use bytes on Linux and unicode elsewhere and a backport of os.fsencode and os.decode
Instead we should try to use pathlib (and its backport pathlib2) everywhere as ths would help with the Python 3 port quite a bit (see #295)
Description
We have a contrived way to deal with paths working around some bugs on Python2 on Linux.
This means that we use bytes on Linux and unicode elsewhere and a backport of os.fsencode and os.decode
Instead we should try to use pathlib (and its backport pathlib2) everywhere as ths would help with the Python 3 port quite a bit (see #295)