Fixed 'onprogress' event handling for file upload.

Before this change uploadProgress event didn't fire during ajaxSubmit with file content.