Update tmpdir
and tmpfile
context manager docstrings
#8270
Merged
tmpdir
and tmpfile
context manager docstrings
#8270