Fixes #83. Do not close chunk on empty data.