code: def _makedirs(path):
      # this is for python2 compatibility.
      # Python3 has os.makedirs(exist_ok=True).
      try:
          os.makedirs(path)
      except OSError as x:
          if x.errno == 17:
              return
          else:
              raise
  
file_path: metaflow/metaflow/plugins/aws/step_functions/production_token.py
imports: import os
  import json
  import random
  import string
  import zlib
  from itertools import dropwhile, islice
  from metaflow.util import to_bytes
label_desc: Use image node_id 2 for calling a global function with example usage: _makedirs(path) without return types