Now casting unicode attrs to str for ldap stuff.