Bug 826991 - Store download state and end time in an annotation. r=mak