[win32] fix path names

(must not end with slash for ::_stat)