code: public FilePath createTextTempFile(final String prefix, final String suffix, final String contents) throws IOException, InterruptedException {
          return createTextTempFile(prefix,suffix,contents,true);
      }
docs: Creates a temporary file in this directory and set the contents to the
  given text (encoded in the platform default encoding)
  
  @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
  @param contents
  The initial contents of the temporary file.
  @return
  The new FilePath pointing to the temporary file
  @see File#createTempFile(String, String)