Making salt.modules.pkg_resource python3 compatible