Update wget.js

Change writeStream flag from append to overwrite