wget.py: Change the wget fetcher failure handling to avoid lockfile problems