Fix for delta_day passing the month barrier using datetime arithmetic.

I did not do any testing beyond checking the sanity of the generated filename!