safe-write-stream (npm): Like fs.createWriteStream, but it will create the needed directories before trying to create the file.
Keywords: fs|createWriteStream|create|write|stream|mkdir|directories|path