Convert path to bytestring

This is in line with `beets/library.py:336`. Closes #757