Fix formatting of directory index.