Add support for namespace packages.

Without this, packages with namespace packages do not properly
create .egg-info/namespace_packages.txt