title: Opening a django file to process in python 3.6 is running into typeerror
body: <p>This is what my code looked like in 2.7</p>
  
  <pre><code>report = FileContainerModel.objects.get()
  lines = report.document.read().splitlines()
  for line in lines:
      dostuff(line.split('\t'))
  </code></pre>
  
  <p>And now with the same code I'm running into this error:</p>
  
  <pre><code>TypeError: a bytes-like object is required, not 'str'
  </code></pre>
  
  <p>How should I be approaching this?</p>