Fix problem that wget generated junk data