text: Title: DocBin.to_bytes fails with a "ValueError: bytes object is too large" Spacy v 3.7.2
  Body: <!-- NOTE: For questions or install related issues, please open a Discussion instead. -->
  
  ## How to reproduce the behaviour
  I am trying to train a model from scratch (NER) on a corpus which has around 8 million sentences, after added data in DocBin() then unable to save it getting error 
  
  ## Your Environment
  <!-- Include details of your environment. You can also type `python -m spacy info --markdown` and copy-paste the result here.-->
  * Operating System: WIN 10 (64bit)
  * Python Version Used: 3.9.0
  * spaCy Version Used: 3.7.2
  * Environment Information: 
  
  
  I have tried to make chunk of DocBin then murge and save single file but same issue 
  ```
  import os
  import spacy
  from spacy.tokens import DocBin
  from tqdm import tqdm
  from spacy.util import filter_spans
  
  merged_doc_bin = DocBin()
  
  fiels = [
      "G:\\success-demo\\product_ner\\test\\train3.spacy",# 3000000 tokens here
      "G:\\success-demo\\product_ner\\test\\train1.spacy", # 3000000 tokens here
      "G:\\success-demo\\product_ner\\test\\train2.spacy", # 2000000 tokens here
  ]
  
  for filename in fiels:
      doc_bin = DocBin().from_disk(filename)
      merged_doc_bin.merge(doc_bin)
  
  merged_doc_bin.to_disk("G:\\success-demo\\product_ner\\test\\final\\murge.spacy")
  ```
  
  
  ![image](https://github.com/explosion/spaCy/assets/35251001/eb40c475-08de-4ba2-858d-e3caa4ae86f4)
  
  ![image](https://github.com/explosion/spaCy/assets/35251001/bb466b76-c4ea-47c1-89af-db9e482fd043)
  
  
  