mingw32: MS C runtime implementation of mkdir() doesn't allow you to specify the access permissions to pin on a directory.