Work around utf-8 encoding problems in Net::LDAP