Use `mode` option of mkdirp instead of fs.chmod

https://github.com/substack/node-mkdirp#mkdirpsyncdir-opts