Bug Fix: Implement Log class using Windows File APIs.