Write star's chemical composition to HDF5 output