Ensure final chunk is written in put module page's output