def safe_makedirs(fdir):
if os.path.isdir(fdir):<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>os.makedirs(fdir)<EOL><DEDENT>except WindowsError as e:<EOL><INDENT>if '<STR_LIT>' in e:<EOL><INDENT>log.debug('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>raise WindowsError(e)<EOL><DEDENT><DEDENT><DEDENT>return True<EOL>
Make an arbitrary directory.  This is safe to call for Python 2 users.

:param fdir: Directory path to make.
:return: