lstat() in loopfiles_stdin()