Use tmp while downloading, then move to target.