Patch #1608267: fix a race condition in os.makedirs() is the directory
to be created is already there.
 (backport from rev. 52972)
2 files changed