Fixed upload file xhr request handler #3707

Sentry Issue: http://sentry.openlabs.co.in/default/my-openlabs-production/group/2243/