Tried to fix progress stream reporting length while uploading