Fix directory index files