Making salt.runners.mine python3 compatible