Rewrite clean function since it was misbehaving and deleting files in an ignored directory.
Rewrite clean function since it was misbehaving and deleting files in an ignored directory.

GeraldLoeffler/nupic,brev/nupic,scottpurdy/nupic,metaml/nupic,marionleborgne/nupic,subutai/nupic,vitaly-krugl/nupic,eranchetz/nupic,marionleborgne/nupic,akhilaananthram/nupic,vitaly-krugl/nupic,scottpurdy/nupic,breznak/nupic,ywcui1990/nupic,allanino/nupic,pap/nupic,arhik/nupic,cngo-github/nupic,blueburningcoder/nupic,subutai/nupic,loretoparisi/nupic,virneo/nupic,numenta-ci/nupic,virneo/nupic,ben-hopps/nupic,blueburningcoder/nupic,chen0031/nupic,SaganBolliger/nupic,metaml/nupic,BoltzmannBrain/nupic,BoltzmannBrain/nupic,loretoparisi/nupic,ywcui1990/nupic,glorizen/nupic,arhik/nupic,go-bears/nupic,ben-hopps/nupic,elkingtonmcb/nupic,passiweinberger/nupic,rcrowder/nupic,BeiLuoShiMen/nupic,alfonsokim/nupic,badlogicmanpreet/nupic,lscheinkman/nupic,chen0031/nupic,rayNymous/nupic,rcrowder/nupic,GeraldLoeffler/nupic,glorizen/nupic,rhyolight/nupic,sambitgaan/nupic,brev/nupic,runt18/nupic,BeiLuoShiMen/nupic,jcasner/nupic,loretoparisi/nupic,EricSB/nupic,cngo-github/nupic,lscheinkman/nupic,cngo-github/nupic,go-bears/nupic,pulinagrawal/nupic,jcasner/nupic,numenta/nupic,allanino/nupic,mcanthony/nupic,metaml/nupic,GeraldLoeffler/nupic,vamsirajendra/nupic,SaganBolliger/nupic,brev/nupic,SaganBolliger/nupic,eranchetz/nupic,glorizen/nupic,wanghaven/nupic,neuroidss/nupic,chanceraine/nupic,virneo/nupic,go-bears/nupic,mcanthony/nupic,eranchetz/nupic,allanino/nupic,badlogicmanpreet/nupic,akhilaananthram/nupic,rcrowder/nupic,numenta-ci/nupic,arhik/nupic,sambitgaan/nupic,runt18/nupic,sambitgaan/nupic,ben-hopps/nupic,lscheinkman/nupic,fergalbyrne/nupic,rhyolight/nupic,pulinagrawal/nupic,cogmission/nupic,wanghaven/nupic,pap/nupic,rhyolight/nupic,akhilaananthram/nupic,blueburningcoder/nupic,alfonsokim/nupic,chen0031/nupic,mcanthony/nupic,passiweinberger/nupic,neuroidss/nupic,rayNymous/nupic,darshanthaker/nupic,pulinagrawal/nupic,rayNymous/nupic,numenta/nupic,jcasner/nupic,chanceraine/nupic,breznak/nupic,BeiLuoShiMen/nupic,fergalbyrne/nupic,markneville/nupic,wanghaven/nupic,badlogicmanpreet/nupic,scottpurdy/nupic,fergalbyrne/nupic,neuroidss/nupic,elkingtonmcb/nupic,ywcui1990/nupic,marionleborgne/nupic,runt18/nupic,vamsirajendra/nupic,elkingtonmcb/nupic,darshanthaker/nupic,EricSB/nupic,markneville/nupic,subutai/nupic,numenta/nupic,vitaly-krugl/nupic,cogmission/nupic,alfonsokim/nupic,vamsirajendra/nupic,BoltzmannBrain/nupic,darshanthaker/nupic,markneville/nupic,cogmission/nupic,passiweinberger/nupic,pap/nupic,chanceraine/nupic,breznak/nupic,numenta-ci/nupic,EricSB/nupic