Fixes from @havocp's review of FileLogger.