Rename files
Fix issue with collapsing job reusing output

When reusing output, the collapsing job subtracts off the oldest data from the previous result.  However, there were a couple problems:

1) When multiple days elapsed since the previous output, it didn't subtract the old inputs off correctly, yielding "negative" counts.
2) The job doesn't check whether it is beneficial to reuse the output.  If the window size is very small, then it may be better to consume the full window instead of reusing output.

This fixes both these problems.  When subtracting off data, it now only subtracts off data that was actually used in the previous result.  Also when considering reusing output, it compares the total bytes consumed to the total if the job didn't reuse output.

[ci skip]