Updated [app.py](<workspace>/app.py:4) with a one-line fix to retain the final partial chunk.

Tests passed (1/1). Additional checks confirmed empty-input behavior, short and exact chunks, and nonpositive-size validation. No remaining uncertainty.