Fix format string use

copt.c: In function ‘writeoutf’:
copt.c:806:2: error: format not a string literal and no format arguments [-Werror=format-security]
  fprintf(fp, headstr);
...