FT-548 solve mem leak with a new toku_logger_free_logfiles API