Streaming data to file and save it using Stream.(the module will make directory itself if the directory is not exist).
npm install file-save
var fileSave = ;// the first line will create a writeStream to the file path
file-save module will build a write stream to the file, and automatically make directory if the directory is not exist and need to create.
.write method, but string is also optional.
You can make a callback, while the stream prompt error
Make a callback while finished, **using this method you have to call **
.foot before calling this method