Changes all Content-Disposition headers from:
filename="name.ext"
to:
attachment; filename="name.ext"
This ensures compatibility with RFC 2183 and allows third-party
downloading libraries (e.g., Go's mime.ParseMediaType) to correctly
parse the filename.
Fixes#8914