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.
Merge pull request #4 from tautt/create-dir-on-download

Adding the --create-dirs options to curl.