Making salt.modules.brew python3 compatible