Also set committedOffset to the value read from the file.