code: def construct_scratch_path(self, dirname, basename):
          
          return os.path.join(self.scratchdir, dirname, basename)
docs: Construct and return a path in the scratch area.
  
          This will be  <self.scratchdir>/<dirname>/<basename>