UPGRADE: osdep.h windows errno definitions
FIX: add timestamps to log file