`mkdir_p` is equivalent to `mkdir -p`, which creates the entire parent directory structure if it doesn't exist. See [here](http://man7.org/linux/man-pages/man1/mkdir.1.html). So no need to call `create_public_path` here.