Create needed directories if they don't exist

@mhaskel This should fix https://github.com/puppetlabs/modulesync/issues/5