Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.

Patch by Terry Chia.
Issue #22427: TemporaryDirectory no longer attempts to clean up twice when
used in the with statement in generator.