Add grandmastergames.pgn and filter out all non-mate games from pgn. Fix read/write of PGN games.