Fix: Unicode-objects must be encoded before hashing

This fix is for Python 3