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

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