Making salt.modules.ldapmod python3 compatible