Replace extend with setExtent in all the code
hdf5::DataSet: remove obsolete extend() function

Also adjust the test