[Bug 10275] Problem with encoding in attachment

Added code for encoding unicode filename in attachment for IE (up to version IE 10)