ALWAYS close dest. file when dl fails