Using std::streamoff for indexing.
chunk indices hold tags.
index params written first.