code: def chdir(self):
      old = os.getcwd()
      try:
          os.chdir(self)
          yield
      finally:
          os.chdir(old)
  
imports: import os
  import pathlib
  import sys
  from contextlib import contextmanager
  from functools import partialmethod
  from dvc.utils import serialize
label_desc: Use image node_id 16 for calling the TmpDir obj's underlying member method code with example usage: obj.chdir() without return types