Refactored the XBin saving routines back into Savers.js, so that it can be
called from savebrush.js.