Write attributes also on streams
Created by: dominikwerder
Writing of HDF attributes on the HDF objects associated with a data stream is in principle the responsibility of the file writer module, because that is which has full control over the HDF structure associated with that stream. There should be a convenience function which allows the file writer module to easily write those attributes in the common case where simply all attributes specified in the JSON command should be attached to the same HDF object.