docs: def __setup_remote_paths(self):
          """
          Actually create the working directory and copy the module into it.
  
          Note: the script has to be readable by Hadoop; though this may not
          generally be a problem on HDFS, where the Hadoop user is usually
          the superuser, things may be different if our working directory is
          on a shared POSIX filesystem.  Therefore, we make the directory
          and the script accessible by all.
          """
          self.logger.debug("remote_wd: %s", self.remote_wd)
          self.logger.debug("remote_exe: %s", self.remote_exe)
          self.logger.debug("remotes: %s", self.files_to_upload)
          if self.args.module:
              self.logger.debug(
                  'Generated pipes_code:\n\n %s', self._generate_pipes_code()
              )
          if not self.args.pretend:
              hdfs.mkdir(self.remote_wd)
              hdfs.chmod(self.remote_wd, "a+rx")
              self.logger.debug("created and chmod-ed: %s", self.remote_wd)
              pipes_code = self._generate_pipes_code()
              hdfs.dump(pipes_code, self.remote_exe)
              self.logger.debug("dumped pipes_code to: %s", self.remote_exe)
              hdfs.chmod(self.remote_exe, "a+rx")
              self.__warn_user_if_wd_maybe_unreadable(self.remote_wd)
              for (l, h, _) in self.files_to_upload:
                  self.logger.debug("uploading: %s to %s", l, h)
                  hdfs.cp(l, h)
          self.logger.debug("Created%sremote paths:" %
                            (' [simulation] ' if self.args.pretend else ' '))