Making salt.modules.cyg python3 compatible