title: File downloaded larger than original
body: <p>I'm working on a little python3 server and I want to download a sqlite database from this server. But when I tried that, I discovered that the downloaded file is larger than the original : the original file size is 108K, the downloaded file size is 247K. I've tried this many times, and each time I had the same result. I also checked the sum with sha256, which have different results.</p>
  
  <p>Here is my downloader.py file :</p>
  
  <pre>import cgi
  import os
  
  print('Content-Type: application/octet-stream')
  print('Content-Disposition: attachment; filename="Library.db"\n')
  
  db = os.path.realpath('..') + '/Library.db'
  with open(db,'rb') as file:
      print(file.read())</pre>
  
  <p>Thanks in advance !</p>
  
  <p>EDIT :
  I tried that :<br>
  $ ./downloader > file<br>
  file's size is also 247K.</p>