Fixed bug on Python 2.6 where byterray.fromhex was given a non-unicode argument.