add pure python fetcher instead of wget, add log cleanup