d0ae77c py3: Unicode strings must be encoded to bytes before hashing.

Authored and Committed by ralph 6 years ago
    py3: Unicode strings must be encoded to bytes before hashing.