title: csv.DictReader error "_csv.Error: line contains NULL byte"
body: <p>I am using the following code to count the number of lines in a csv file</p>
  
  <pre><code>with open("filepath.csv",newline='', encoding='utf-8') as csvtweet:
                      reader2 = csv.DictReader(csvtweet)
                      num_coach_tweet = sum(1 for row in reader2) 
  </code></pre>
  
  <p>and I get the following error:</p>
  
  <pre><code>line 112, in __next__
      row = next(self.reader)
  _csv.Error: line contains NULL byte
  </code></pre>
  
  <p>I checked StackOverflow questions, and couldn't find one answer for the DictReader case. </p>