modules.pkg_resource: avoid shadowing outer version() func