pub fn append_json_batch( file: &mut File, path: &Path, prior: &[u8], records: &[LogEvent], ) -> AppResult<()>