Correct .dir entry dirname