Adds directory names to the files in working tree, ...

... when multiple files with the same name are opened.

Any comments welcome.

![myfix](https://f.cloud.github.com/assets/1067319/779024/b68390d6-e9c2-11e2-9bfa-b6a237e2e944.JPG)