Fixing duplicate metadata records, fixing #1.
We shouldn't have the files index based on <parentId, remoteId>.