File logging Windows fix

log files are not created under windows