def _touch_dir(self, path):
try:<EOL><INDENT>os.makedirs(path)<EOL><DEDENT>except OSError as e:<EOL><INDENT>if e.errno != errno.EEXIST:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>
A helper function to create a directory if it doesn't exist.

path: A string containing a full path to the directory to be created.