Split a DYF3 file into chunks for transport (e.g. GitHub Pages).
Chunk 0 keeps the original filename (truncated to chunk_size). Chunks 1..N are written as path.1, path.2, etc. with raw continuation bytes (no headers). The n_chunks field in chunk 0’s header is patched in place.