Adding the --create-dirs options to curl.

In order to make update easier, we can avoid the need of creating a
tmp dir by hand on recently cloned repos.