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