Add detection for multiple files with same name in femacs

Useful when working on a complex tree with multiple files having the same
name. Before this utility was pitifully failing...