Improve File logger

Adds flocking on writes.

Fixes horribly confusing documentation.

Fixes broken legacy config handling.