Making salt.runners.thin python3 compatible