Implement `symlink?`.
Don't follow symlinks when cleaning. Fixes #988.