Now handling symlink folders with special care.
This fixes #1115.