fix(writer): fix makeDir directory tree bug

This fixes the bug from this morning where `writer.makeDir` was not filling in directory trees before execution finished.