Roll our own recursive mkdir implementation