Fixed content length mismatch in partial requests.
Fixed content length mismatch in partial requests.

This rare error had unknown conditions that triggered it (likely an
off-by-one). The file_range_generator function was rewritten for clarity and
to fix the issue.

leechy9/Soniferous,leechy9/Soniferous,leechy9/Soniferous