Better error handling for XHR based file uploads
Updated revision date