Fix download path error

If path likes '~/Downloads', it may create a '~' folder in your current
directory. It's very dangerous to use 'rm -rf ~' .