use *.tmp file name while downloading, after finished, rename it