Just found an alternative way to accomplish this:
head :ok, :content_type => @media.mime_type, :content_disposition => "attachment;filename=#{@media.filename}", :x_sendfile => "#{RAILS_ROOT}/data/#{@media.physname}", :content_transfer_encoding => 'binary'
If Content-Transfer-Encoding is set to binary, the encoding is no longer added. This was discovered after excavating the source a bit.
source share