Do not use lstat() on Nintendo 3DS

lstat() exists, but just crashes.