Add extension method to split collections into batches
Useful for testing and breaking down byte streams into sizes