Fix for #902 - now properly encoding filename in the content disposition header.