docs: def outdir(self, acc=None):
          """Return the outdir for the given account.
  
          Attempts to create the directory if it does not exist.
          """
          rootdir = self.rootdir()
          outdir = self.get('outdir', acc=acc)
          dir = os.path.join(rootdir, outdir) if rootdir and outdir else None
          if not os.path.exists(dir):
              os.makedirs(dir)
          return dir