You state that inodes are being re-used. Detecting that in the file input is a ridiculously hard problem. Any approach that has a reasonable cost (i.e. not doing checksums on chunks of the file) will sometimes get the answer wrong. See this thread for an example.
And yes, it having the wrong name for a file in the sincedb is indeed strange.