fix for file writer after download finish; correct routing made for http/udp trackers