Save powder diffraction intensity data to different output types

`if ext == '.xye' and err is None:`