Fix header write in `RollingRandomAccessFileManager` (#4008)

Co-authored-by: Volkan Yazıcı <volkan@yazi.ci>
3 files changed