make sure chunk index is unique in filemeta