always write the index, so that its layout matches that
of other blocks.