Making salt.modules.rpm python3 compatible