Making salt.modules.monit python3 compatible