Move test's filesystem cleanup into TH::clearFilesystem, call from clearEnv