Fixed initialisation order in directory.cc.