New save output

Saving diffraction intensities into different file formats
Isn't error mandatory for xye?