Change file_logger_init to take a file_logger

The file logger struct now has a logger struct as
its first field.  Now we can pass the correct logger to
the init function and it knows how to set the function
pointer.

Signed-off-by: Jeff Horn <jhorn@reachtech.com>