Keep byte range requests within file size; closes #2