It turns out that HDF4 supports chunking (and compression). However the existing HDF4 code does not support it. So add HDF4 support for chunking. Also add a test case.