kripken/emscripten — pull request #1882 by abergmeier (2013-12-01 18:58:07+00:00)
Title: Introduce safe_ensure_dirs as a safe os.makedirs replacement.

It only uses os.makedirs call, which is more atomic than calling 2 proc calls. Thus exception due to already existent directory should not longer occur.