Adding rawurlencode to the filename in the Content-Disposition header so as to support characters such as semicolons in IE
Ensure the $filename is actually in ISO-8859-1 encoding 
for the fallback
Merge pull request #594 from alxndrmlr/master

More robust handling of characters in Content-Disposition filename