#310: GIF file upload fix for IE8.