- Fix broken check for storing the number of transferred bytes.