Fix removing file bug after failing  downloading.