Upload failing in Google Chrome and certain versions of IE