fix to allow setting a file extension for a log filename on Windows #4571
===VersionHistory:Pending===
Merge branch 'V8_2-branch' into V8_3_1-branch