write download stat