Refactored chunk joining logic used with DevNull helper, inside DevNull helper since it's an implementation concern