Work around an encoding problem with Net::LDAP 0.2.2. Will need to upgrade to 0.3 the soonest.