Making salt.netapi.rest_wsgi python3 compatible