Put dataset chunking creation code back in

Makes it easier to test. datAlter and datMap will work either
way. It might be worth making this a tuning parameter.

Note that this patch does not attempt to solve the
problem of >4GB chunks.

Default is not to chunk.