Fix bug when resizing circular buffer in saver's output stream implementation. checkintests pass, no regressions in detailed.