Making salt/config python3 compatible