Added support for resuming chunked uploads