Making salt.modules.alternatives python3 compatible