Making salt.modules.event python3 compatible