write stream in build.js
added finish call back to write stream
Add close event handler for write stream in node v0.8 case
bump version/upadatedchange log
reformat