Update and rename dir.txt to .dir