blocking test
Small refactoring of the file output class and adding a few tests to cover edges cases..
Added more tests cases for encoding check
Clearer name for the current log file
Log a warning when the event is trying to write outside the files root
Do not tag the events when we have a problem generating the output path
Merge pull request #1 from ph/fix/file-refactor

Small refactor of the file output and added more test coverage for it.