Add file rotation at max_size

This PR does as the title implies and is 99% inline with what Jordan originally had in mind.  I found the renaming sequence easier, cleaner and less error prone.