git-lfs support doesn't check for nested .gitattributes files

The .gitattributes file may not be in the root folder of a repository, we should recurse when checking whether checking out of lfs binaries is required.