function mkDirsSync(dirname) {
if (fs.existsSync(dirname)) {
return true;
} else {
if (mkDirsSync(path.dirname(dirname))) {
fs.mkdirSync(dirname);
return true;
}
}
};