code: def _save_label(label_path: str, wav_stem: str, label: str):
      with open(label_path, "a") as f:
          f.write(f"{wav_stem} {label}\n")
  
file_path: audio/test/torchaudio_unittest/datasets/snips_test.py
imports: import os
  from torchaudio.datasets import snips
  from torchaudio_unittest.common_utils import get_whitenoise, save_wav, TempDirMixin, TorchaudioTestCase
label_desc: Use image node_id 2 for calling a global function with example usage: _save_label(label_path, wav_stem, label) without return types