Merge pull request #12 from rtirserio/master

create sitemap dir if it does not exist
Update index.js

fs.mkdir -> fs.mkdirSync