New save output

Saving diffraction intensities into different file formats
It is equivalent, but I think this should be an `if`, not an `elif` as this is not part of the same logical block as the above.