Making salt/log/handlers/sentry_mod python3 compatible