uclient-fetch: clean up output file selection