RF: removed unused argument in class init

chdir argument unused in TemporaryDirectory init