Improvements to LogFile

Hi,
I've modified LogFile with the following changes:
1. Allow log file to be read by other processes on Windows (currently external read access is denied).
2. Allow to disable LogFile output buffering, using a constructor parameter.

Please review the changes and merge them if acceptable.

Thanks,
Shahar