implement locking for file writes/rotation
Implement TimedRotationPolicy