Update bytestring changes for code lifted from django to do email validation