Fixed problem with setting h5py attributes of NXfield

Used the wrong dictionary before.