dir2pi: handle eggs

Binary eggs have their uses. dir2pi should handle them.

Note: I haven't checked to see if pip2tgz or pip2pi work with eggs.

Also, there are probably other places that pkg_resources should be used.