NoWriteSecurityManager tweaks for mkdir().