Bug fix for create mode of existing hdf5 files.