Keep byte range requests within file size; closes #3