code: public static File writeTempFile(ExecutionContext context, File original, InputStream input,
              String script) throws FileCopierException {
          return util.writeTempFile(context, original, input, script);
      }
docs: Write the file, stream, or text to a local temp file and return the file
  @param context context
  @param original source file, or null
  @param input source inputstream or null
  @param script source text, or null
  @return temp file, this file should later be cleaned up by calling
  {@link com.dtolabs.rundeck.core.execution.script.ScriptfileUtils#releaseTempFile(java.io.File)}
  @throws FileCopierException if IOException occurs