Fix bad encoding.

In python3, string.encode returns a byte array like:
b'14.1:\t/home/felix/devel/autojump'
This stops autojump from functioning at all.
Merge pull request #298 from erbridge/fix_encoding_error

Fix bad encoding