Fixed up directory generator (would walk down into deeper directories while extracting tar files.