Conditional symlink-checking code in unchanged_attrs() should be