handle file remove during downloading