gui: Make File|Recent Files remember the correct encoding.