Use only the filename when deciding if a file is a duplicate.

Matches gnu ar behavior.