Fixed forgotten write to file telling autoresume/manualresume finished downloading