Fix missing line termination on the last received BDAT chunk (Bug 1974)