Consolidate mkdir_p with other implementations of mine because: might as well