write_agefile did not look for `download` objects.  This has been corrected.