Permit use of UTF-8 encoded paths on Python 2 (#51).

For Python 3+, paths must always be str, never bytes.