ENH hdf write accepts attrs dict for group attribtes