allow mkdirp 0.4 and 0.5
v0.4.12