in reply to CGI, write to file
the comma after header, in particular, causes the Content-Type declaration to be printed in the wrong place