title: Python os.path.getsize(path) get the wrong size of a *.jpg file
body: <p>I am trying to sort and rename all the *.jpg file under current working directory.
  <strong>But when I use os.path.getsize(path), it returns the wrong size.</strong>
  For example, I have 2 pictures: <strong>13.jpg and 15.jpg.</strong></p>
  
  <p>you can see <strong>in the explorer</strong>:</p>
  
  <pre><code>13.jpg  474kb
  15.jpg  464kb
  </code></pre>
  
  <p>13>15</p>
  
  <p><strong>but in python:</strong></p>
  
  <pre><code>current working directory = "something we don't care"
  name = 13.jpg
  info = os.stat(name)
  print(name, info.st_size, os.path.getsize(name))
  </code></pre>
  
  <p><strong>and in the console I can see</strong></p>
  
  <pre><code>13.jpg 472355 472355
  14.jpg 474241 474241
  15.jpg 474391 474391
  </code></pre>
  
  <p><strong>Now is 15>13</strong></p>
  
  <p>How can this be?</p>