fix output file of wget