[thedac] Handle directories like mkdir -p