def _bypass_ensure_directory(path):
if not WRITE_SUPPORT:<EOL><INDENT>raise IOError('<STR_LIT>')<EOL><DEDENT>dirname, filename = split(path)<EOL>if dirname and filename and not isdir(dirname):<EOL><INDENT>_bypass_ensure_directory(dirname)<EOL>try:<EOL><INDENT>mkdir(dirname, <NUM_LIT>)<EOL><DEDENT>except FileExistsError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Sandbox-bypassing version of ensure_directory()