create output dir before write moltenpad.js