Don't follow symlinks on stat

Fixes #395 (somehow I fucked up the merge)