Also add directories visited by Dired to `file-name-history'.