Separate directory walking and generation of gitdaemon files.