correctly write the EGRID and INIT files, start writing the RESTART ones

thanks Joakim!