Making salt.modules.publish python3 compatible