Add mkdir -p command

Adds a mkdir -p command for creating intermediate dirs in a POSIX fashion.