logging: split FileHandlerFactory into two classes