Making salt.utils.raetevent python3 compatible