Sarina/dormsbee grades download

@ormsbee @nedbat 

Cherry pick against release of #1712