encode_arrow_file needs every RecordBatch resident before it can write
the Footer, so callers producing more data than fits in memory had no
way to emit one Arrow file. ArrowFileWriter writes the header on
construction, appends each batch to disk as it arrives (keeping only the
24-byte Footer Block per batch), and writes the Footer on finish().
encode_arrow_file is now built from the same header/batch/footer helpers,
so both paths produce byte-identical output (checked against v1.2.2's
encoder and read back with pyarrow). Version 1.2.2 -> 1.3.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>