Download: Avoid overwriting file with case conflict. #1914