fix to allow setting a file extension for a log filename on Windows #4571
===VersionHistory:Pending===