Fix issue #87, second chunked upload fails after successful first

Reset CHUNK_PARAMS between chunked uploads.