Create directories if they don't exist.

Re: https://github.com/purescript/grunt-purescript/pull/5 and all the `mkdir` calls here: https://github.com/purescript/purescript-in-purescript/blob/master/Makefile