Write integers to PGM rather than floats