(make-parents f & more)
Given the same arg(s) as for file, creates all parent directories of the file they represent.
(let [file-name "path/to/whatever.txt"] (make-parents file-name) (spit file-name "whatever"))