Replace all calls to writer.js makeDir and instead use
fs-extra's mkdirsSync function.