code: public FilePath createTempFile(final String prefix, final String suffix) throws IOException, InterruptedException {
          try {
              return new FilePath(this, act(new CreateTempFile(prefix, suffix)));
          } catch (IOException e) {
              throw new IOException("Failed to create a temp file on "+remote,e);
          }
      }
docs: Creates a temporary file in the directory that this {@link FilePath} object designates.
  
  @param prefix
  The prefix string to be used in generating the file's name; must be
  at least three characters long
  @param suffix
  The suffix string to be used in generating the file's name; may be
  null, in which case the suffix ".tmp" will be used
  @return
  The new FilePath pointing to the temporary file
  @see File#createTempFile(String, String)