Making salt.states.http python3 compatible