Fix 'create_dataset' for old h5py API.