[bugfix] fix missing require for "fs" module
template cleanup, fix wget param error in Readme.md