code: def _store_binary(path: PathLike, data: bytes) -> None:
      directory = dirname(path)
      if not exists(directory):
          os.makedirs(directory)
  
      with open(path, "wb") as f:
          f.write(data)
  
imports: from __future__ import annotations
  import logging
  import os
  from base64 import b64decode
  from glob import iglob
  from os.path import basename, dirname, exists, isdir, join, normpath, pardir, relpath, splitext
  from pathlib import Path
  from typing import TYPE_CHECKING, Literal, Union
  import yaml
label_desc: Use image node_id 3 for calling a global function with example usage: _store_binary(path, data) without return types