Improved timespan collection nesting.
Reset file modes.