Making salt.utils.context python3 compatible