Distribution.Hackage.DB: remove unnecessary CPP extension
Distribution.Hackage.DB: re-factor the code that finds the "00-index.tar" file into a separate function, hackagePath, and export it

Suggested in <https://github.com/peti/hackage-db/pull/3>.
Distribution.Hackage.DB: cosmetic