Making salt.utils.event python3 compatible