Fix UnicodeEncodeError when using Python 2.7
Fix UnicodeEncodeError when using Python 2.7

If text contains non-ascii characters Python 2.7 throws a
UnicodeEncodeError and pybib won't work. This commit adds a workaround
to allow pybib to be used with Python 2.7.

jgilchrist/pybib