Use database to track uploaded chunks and concatenate at the end.