Generate error if cannot create hdf5 file
If the hdf5 file cannot be written for some reason e.g. wrong user or wrong permissions, then return an error with a hint how to fix this.
If the hdf5 file cannot be written for some reason e.g. wrong user or wrong permissions, then return an error with a hint how to fix this.