RAZ-2260: Downloading files did not show progress in browser properly because file size was not passed