Creates a temporary file and returns its path.
Example:
var tmpPath = Files.tempFile ("myapp", ".tmp");
if (tmpPath != null) {
Files.writeText (tmpPath, "temp data");
}
| prefix |
the prefix for the temporary file name. |
| suffix |
the suffix (extension) for the temporary file name. |
|
a Path to the created temporary file, or null on error. |