diff.c: do not use pathname comparison to tell renames