Add trailing newline when writing `download-metadata.json` (#17194)
When we added formatting, the newline was added but it isn't written by
the generator script so https://github.com/astral-sh/uv/pull/17193
removes it.
Co-authored-by: Claude <noreply@anthropic.com>