Open master.gsav in binary mode for reading.

and other master.gsav fixes