Making salt.modules.upstart python3 compatible