Record files don't always include directories so find eggdir by looking for a file within it.

Fixes #2075
Better detection of egg-info dirs
Merge pull request #2076 from abadger/feature/no-egg-info-dir-in-record

Record files don't always include directories so find eggdir by looking ...