Making salt.modules.ddns python3 compatible