fn append_in(dir: &Path, records: &[Value], max_bytes: u64) -> Result<()>
The write itself, over a directory and a cap a test can hand it.