Making salt.modules.ps python3 compatible