- dup fd before fdopen.  We would like to close FILE *out but
  need to keep opening the underlaying file descriptor.
- show program name and pid on the report.
The count was not initialized.