Windows: Monkey patch our way into os.fileStat using reflection library so we can safely track file rotations across restarts and maintain exact behaviour across all platforms. If the Go library changes to become incompatible a WARNING message will print and we will resort to old behaviour: having no ability to track rotations across restarts.
Merge branch 'driskell' into features/statefile_prune_reliable_offsets