Additional attribute "totalSize" response on chunked files

This totalSize attribute helps comparing later if the current file chunk is the last one.
So if we need to insert the file record in a database, we do it only once, at the last chunk burst.