test: Use permissions from git in `lint-files.py`
test: Use permissions from git in `lint-files.py`

Instead of using permissions from the local file system, which might
depend on the umask, directly check the permissions from git's metadata.

lateminer/bitcoin,fujicoin/fujicoin,namecoin/namecoin-core,fanquake/bitcoin,jambolo/bitcoin,sipsorcery/bitcoin,instagibbs/bitcoin,fujicoin/fujicoin,fujicoin/fujicoin,sstone/bitcoin,particl/particl-core,particl/particl-core,tecnovert/particl-core,domob1812/bitcoin,GroestlCoin/bitcoin,mruddy/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,ajtowns/bitcoin,bitcoinsSG/bitcoin,andreaskern/bitcoin,GroestlCoin/bitcoin,sipsorcery/bitcoin,fanquake/bitcoin,bitcoinsSG/bitcoin,jamesob/bitcoin,ajtowns/bitcoin,GroestlCoin/bitcoin,jambolo/bitcoin,domob1812/bitcoin,fujicoin/fujicoin,namecoin/namecoin-core,bitcoin/bitcoin,Xekyo/bitcoin,jamesob/bitcoin,GroestlCoin/bitcoin,bitcoin/bitcoin,domob1812/bitcoin,fanquake/bitcoin,particl/particl-core,sstone/bitcoin,fanquake/bitcoin,mruddy/bitcoin,fujicoin/fujicoin,GroestlCoin/GroestlCoin,andreaskern/bitcoin,mruddy/bitcoin,AkioNak/bitcoin,GroestlCoin/GroestlCoin,jamesob/bitcoin,tecnovert/particl-core,jambolo/bitcoin,GroestlCoin/GroestlCoin,jambolo/bitcoin,bitcoin/bitcoin,GroestlCoin/bitcoin,bitcoinsSG/bitcoin,sipsorcery/bitcoin,tecnovert/particl-core,andreaskern/bitcoin,sstone/bitcoin,kallewoof/bitcoin,tecnovert/particl-core,kallewoof/bitcoin,ajtowns/bitcoin,domob1812/bitcoin,ajtowns/bitcoin,lateminer/bitcoin,andreaskern/bitcoin,AkioNak/bitcoin,instagibbs/bitcoin,kallewoof/bitcoin,instagibbs/bitcoin,mruddy/bitcoin,jamesob/bitcoin,AkioNak/bitcoin,namecoin/namecore,tecnovert/particl-core,kallewoof/bitcoin,sipsorcery/bitcoin,jamesob/bitcoin,Xekyo/bitcoin,AkioNak/bitcoin,Xekyo/bitcoin,sipsorcery/bitcoin,mruddy/bitcoin,namecoin/namecoin-core,namecoin/namecoin-core,bitcoin/bitcoin,fujicoin/fujicoin,domob1812/bitcoin,GroestlCoin/GroestlCoin,GroestlCoin/bitcoin,mruddy/bitcoin,domob1812/bitcoin,fanquake/bitcoin,particl/particl-core,sstone/bitcoin,AkioNak/bitcoin,jambolo/bitcoin,fanquake/bitcoin,jambolo/bitcoin,namecoin/namecore,instagibbs/bitcoin,jamesob/bitcoin,Xekyo/bitcoin,bitcoin/bitcoin,GroestlCoin/GroestlCoin,ajtowns/bitcoin,instagibbs/bitcoin,andreaskern/bitcoin,lateminer/bitcoin,instagibbs/bitcoin,lateminer/bitcoin,bitcoinsSG/bitcoin,particl/particl-core,namecoin/namecore,Xekyo/bitcoin,namecoin/namecore,bitcoinsSG/bitcoin,AkioNak/bitcoin,bitcoinsSG/bitcoin,kallewoof/bitcoin,namecoin/namecoin-core,sipsorcery/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,GroestlCoin/GroestlCoin,lateminer/bitcoin,andreaskern/bitcoin,sstone/bitcoin,namecoin/namecore,particl/particl-core,kallewoof/bitcoin,sstone/bitcoin,lateminer/bitcoin,ajtowns/bitcoin,namecoin/namecore