Appends a line to the scan info file, if the 'Create info file' option of the Flags popup-menu of the Scan widget is selected.