code: def stream_to_file(self, stream_path, file_path):
      cmd = [_STREAM_TO_FILE, "<", stream_path, ">", file_path]
      self.run_shell_command(cmd, cwd=ARROW_JS_ROOT)
  
file_path: arrow/dev/archery/archery/integration/tester_js.py
imports: import os
  from .tester import Tester
  from .util import run_cmd, log
  from ..utils.source import ARROW_ROOT_DEFAULT
label_desc: Use image node_id 4 for calling the JSTester obj's underlying member method code with example usage: obj.stream_to_file(stream_path, file_path) without return types