wip on saving binned spectra (intentionally includes PR #13, not ready yet)