Fixes#8914
The Content-Disposition header was set to `filename="name.ext"` which
doesn't match RFC 2183 specification. This caused third-party libraries
(e.g., Go's mime.ParseMediaType) to fail parsing the header.
Changed to `inline; filename="name.ext"` format which properly includes
the disposition-type as required by RFC 2183.