Ignore file symlinks when reading project, fixes #791 and #783.

#791 #783