...G...... [ZBXNEXT-497] unified Windows and Unix code
...G...... [ZBXNEXT-497] removed logging, because log file is not yet opened during configuration parsing
...G...... [ZBXNEXT-497] replaced one occurence of _wstat() with zbx_stat(), not replaced during merging of ZBX-7856 from 2.0 to 2.2