Save powder diffraction intensity data to different output types

`err` should default to 'std'