Windows port uses stat and not lstat.