added lstat()