Fix for attachment downloads on IE