saving binned spectra (intentionally includes PR #13)