Store accumulated directory sizes in index files