I should also point out that in the definition of mkdir, the line including (null? ,parents) probably doesn't do what you want it to since t isn't true and nil isn't null in scheme:
arc> (= parents t)
t
arc> ($ (null? ,parents))
Error: "reference to undefined identifier: t"
the fix should be to use ar-false? and quote the value of parents