Revert "__wt_statlog_log_one doesn't need a local FILE handle, just pass NULL"

This reverts commit e02006fc7a0e083b0d102ca25a5b9339b6c56ff6.