_domain_cache_key now encodes strings as utf-8 to prevent hashlib.md5() from raising an UnicodeDecodeError
Merge pull request #3730 from dimagi/domain-lookup-unicode-check-change

Encode unicode as utf-8 in domain lookup