All of those functions are similar, can we consolidate? There is need for a `chunk` too, which is what batch was before. The change of batch to include promises might have broken some scripts elsewhere. Chunk i described here: #38