Making salt.modules.cpan python3 compatible