Safe mkdir for RUNTIME