Fix fread() warning
Type int where needed for Python 3 support