Changed FILE_INFO_FLAGS to include NONE rather than NOFOLLOW_SYMLINKS, which fixed the git annex issue.