code: URI generateOutputFile(final URI ref) {
          final FileInfo srcFi = job.getFileInfo(ref);
          final URI newSrc = srcFi.src.resolve(generateFilename());
          final URI tmp = tempFileNameScheme.generateTempFileName(newSrc);
  
          if (job.getFileInfo(tmp) == null) {
              job.add(new FileInfo.Builder()
                      .result(newSrc)
                      .uri(tmp)
                      .build());
          }
  
          return job.tempDirURI.resolve(tmp);
      }
docs: Generate output file.
  
  @return absolute temporary file