pub(crate) fn dump_journal_path( path: &Path, start_pos: u64, max_records: usize, ) -> Result<(), Error>