only create a directory if it does not exist