Report question

Question: Is there a safer way to create a directory if it does not exist?