Making salt.modules.varnish python3 compatible