__wt_statlog_log_one doesn't need a local FILE handle, just pass NULL
to __statlog_log_one.

return an error value on error from __wt_statlog_log_one

whitespace