Add option to handle errors in done() callback of chunksUploaded
In chunksUploaded callback (when all chunks have been uploaded) we sometimes want to do some server size validation. In order to achieve this we need a way to handle errors (Cancel file upload) when file does not pass validation.
Adding an option to pass an error to done(error) allows us to achieve this. (Similar to the accept() method).