Remove mkdirp code

I do not see where this code is used, therefore I removed it :smile: