Save some file metrics to mongo when downloading