Update mnist.py

fix the file reading bug on Windows
Merge pull request #92 from fxsjy/patch-1

Update mnist.py