Use pkgutil.get_data to get data from eggs. This is compatible with zipimporter.