Writing to hdf5 through C:)