fix Content-Length off by one for bytes ranges

This fixes off by one Content-Length computation error for bytes ranges.