Fix index files.