fix bug in generate download disposition header