Functionize make-directory-if-not-exists