Fix is_note_file by ignoring symlinks.