Write the input stream to a temporary file.
string $stream: (optional) The input stream.
int $bytesToRead: (optional) The length of bytes to read in each iteration.
string The temporary file path.
public function writeStreamToFile(string $stream = self::DEFAULT_STREAM, int $bytesToRead = self::DEFAULT_BYTES_TO_READ) : string;