Fix #1871 by ensuring the at we get the canonical filename before we check the extension
Fix #1871 by ensuring the at we get the canonical filename before we check the extension

nojvek/TypeScript,blakeembrey/TypeScript,germ13/TypeScript,Raynos/TypeScript,msynk/TypeScript,kpreisser/TypeScript,nycdotnet/TypeScript,impinball/TypeScript,Microsoft/TypeScript,alexeagle/TypeScript,JohnZ622/TypeScript,SaschaNaz/TypeScript,tempbottle/TypeScript,AbubakerB/TypeScript,shanexu/TypeScript,rodrigues-daniel/TypeScript,ionux/TypeScript,ZLJASON/TypeScript,rgbkrk/TypeScript,ZLJASON/TypeScript,sassson/TypeScript,shiftkey/TypeScript,vilic/TypeScript,nycdotnet/TypeScript,gonifade/TypeScript,zhengbli/TypeScript,jamesrmccallum/TypeScript,SimoneGianni/TypeScript,suto/TypeScript,suto/TypeScript,rodrigues-daniel/TypeScript,shiftkey/TypeScript,zmaruo/TypeScript,moander/TypeScript,Eyas/TypeScript,abbasmhd/TypeScript,nagyistoce/TypeScript,kitsonk/TypeScript,impinball/TypeScript,DLehenbauer/TypeScript,nycdotnet/TypeScript,ionux/TypeScript,donaldpipowitch/TypeScript,JohnZ622/TypeScript,kingland/TypeScript,JohnZ622/TypeScript,minestarks/TypeScript,TukekeSoft/TypeScript,alexeagle/TypeScript,plantain-00/TypeScript,ziacik/TypeScript,AbubakerB/TypeScript,kingland/TypeScript,yortus/TypeScript,matthewjh/TypeScript,mihailik/TypeScript,msynk/TypeScript,HereSinceres/TypeScript,Viromo/TypeScript,RReverser/TypeScript,webhost/TypeScript,nycdotnet/TypeScript,billti/TypeScript,mihailik/TypeScript,samuelhorwitz/typescript,MartyIX/TypeScript,basarat/TypeScript,mihailik/TypeScript,chocolatechipui/TypeScript,bpowers/TypeScript,SimoneGianni/TypeScript,SmallAiTT/TypeScript,jamesrmccallum/TypeScript,keir-rex/TypeScript,rodrigues-daniel/TypeScript,kingland/TypeScript,vilic/TypeScript,mcanthony/TypeScript,enginekit/TypeScript,shanexu/TypeScript,hoanhtien/TypeScript,RyanCavanaugh/TypeScript,vilic/TypeScript,fearthecowboy/TypeScript,jeremyepling/TypeScript,mihailik/TypeScript,Viromo/TypeScript,plantain-00/TypeScript,jeremyepling/TypeScript,kumikumi/TypeScript,jwbay/TypeScript,DanielRosenwasser/TypeScript,jteplitz602/TypeScript,mszczepaniak/TypeScript,pcan/TypeScript,jamesrmccallum/TypeScript,ziacik/TypeScript,jdavidberger/TypeScript,zmaruo/TypeScript,gonifade/TypeScript,mcanthony/TypeScript,ionux/TypeScript,DLehenbauer/TypeScript,SaschaNaz/TypeScript,synaptek/TypeScript,mszczepaniak/TypeScript,chuckjaz/TypeScript,jteplitz602/TypeScript,plantain-00/TypeScript,fabioparra/TypeScript,Eyas/TypeScript,chuckjaz/TypeScript,RReverser/TypeScript,yortus/TypeScript,chocolatechipui/TypeScript,HereSinceres/TypeScript,kpreisser/TypeScript,jdavidberger/TypeScript,thr0w/Thr0wScript,rgbkrk/TypeScript,msynk/TypeScript,donaldpipowitch/TypeScript,chuckjaz/TypeScript,nojvek/TypeScript,zhengbli/TypeScript,shovon/TypeScript,Raynos/TypeScript,samuelhorwitz/typescript,SaschaNaz/TypeScript,kimamula/TypeScript,jbondc/TypeScript,erikmcc/TypeScript,OlegDokuka/TypeScript,TukekeSoft/TypeScript,mszczepaniak/TypeScript,pcan/TypeScript,DanielRosenwasser/TypeScript,jbondc/TypeScript,Raynos/TypeScript,minestarks/TypeScript,Viromo/TypeScript,ZLJASON/TypeScript,MartyIX/TypeScript,germ13/TypeScript,enginekit/TypeScript,synaptek/TypeScript,tinganho/TypeScript,zhengbli/TypeScript,sassson/TypeScript,enginekit/TypeScript,microsoft/TypeScript,vilic/TypeScript,sassson/TypeScript,nagyistoce/TypeScript,RyanCavanaugh/TypeScript,tinganho/TypeScript,Raynos/TypeScript,kitsonk/TypeScript,matthewjh/TypeScript,yazeng/TypeScript,zmaruo/TypeScript,blakeembrey/TypeScript,microsoft/TypeScript,JohnZ622/TypeScript,kimamula/TypeScript,MartyIX/TypeScript,hitesh97/TypeScript,Eyas/TypeScript,erikmcc/TypeScript,donaldpipowitch/TypeScript,ropik/TypeScript,RyanCavanaugh/TypeScript,abbasmhd/TypeScript,webhost/TypeScript,Mqgh2013/TypeScript,thr0w/Thr0wScript,bpowers/TypeScript,tempbottle/TypeScript,alexeagle/TypeScript,jteplitz602/TypeScript,ropik/TypeScript,Microsoft/TypeScript,Mqgh2013/TypeScript,fabioparra/TypeScript,ziacik/TypeScript,ropik/TypeScript,kimamula/TypeScript,shovon/TypeScript,RReverser/TypeScript,shanexu/TypeScript,evgrud/TypeScript,weswigham/TypeScript,synaptek/TypeScript,DanielRosenwasser/TypeScript,Viromo/TypeScript,samuelhorwitz/typescript,mauricionr/TypeScript,hoanhtien/TypeScript,SimoneGianni/TypeScript,moander/TypeScript,chocolatechipui/TypeScript,yazeng/TypeScript,yazeng/TypeScript,basarat/TypeScript,SmallAiTT/TypeScript,erikmcc/TypeScript,jwbay/TypeScript,matthewjh/TypeScript,ziacik/TypeScript,HereSinceres/TypeScript,weswigham/TypeScript,fearthecowboy/TypeScript,TukekeSoft/TypeScript,DLehenbauer/TypeScript,evgrud/TypeScript,mmoskal/TypeScript,ionux/TypeScript,pcan/TypeScript,tempbottle/TypeScript,erikmcc/TypeScript,microsoft/TypeScript,jeremyepling/TypeScript,mauricionr/TypeScript,moander/TypeScript,basarat/TypeScript,synaptek/TypeScript,nojvek/TypeScript,mauricionr/TypeScript,donaldpipowitch/TypeScript,samuelhorwitz/typescript,AbubakerB/TypeScript,bpowers/TypeScript,hoanhtien/TypeScript,billti/TypeScript,rodrigues-daniel/TypeScript,mcanthony/TypeScript,thr0w/Thr0wScript,progre/TypeScript,Mqgh2013/TypeScript,mauricionr/TypeScript,minestarks/TypeScript,DanielRosenwasser/TypeScript,germ13/TypeScript,AbubakerB/TypeScript,hitesh97/TypeScript,plantain-00/TypeScript,mmoskal/TypeScript,SmallAiTT/TypeScript,hitesh97/TypeScript,shovon/TypeScript,ropik/TypeScript,SaschaNaz/TypeScript,yortus/TypeScript,basarat/TypeScript,abbasmhd/TypeScript,jwbay/TypeScript,nojvek/TypeScript,keir-rex/TypeScript,suto/TypeScript,kimamula/TypeScript,jbondc/TypeScript,kitsonk/TypeScript,DLehenbauer/TypeScript,kumikumi/TypeScript,progre/TypeScript,Eyas/TypeScript,blakeembrey/TypeScript,blakeembrey/TypeScript,fearthecowboy/TypeScript,shanexu/TypeScript,moander/TypeScript,MartyIX/TypeScript,webhost/TypeScript,OlegDokuka/TypeScript,kumikumi/TypeScript,mmoskal/TypeScript,yortus/TypeScript,impinball/TypeScript,mmoskal/TypeScript,gonifade/TypeScript,gdi2290/TypeScript,kpreisser/TypeScript,shiftkey/TypeScript,billti/TypeScript,chuckjaz/TypeScript,keir-rex/TypeScript,jdavidberger/TypeScript,progre/TypeScript,Microsoft/TypeScript,thr0w/Thr0wScript,OlegDokuka/TypeScript,fabioparra/TypeScript,nagyistoce/TypeScript,rgbkrk/TypeScript,weswigham/TypeScript,fabioparra/TypeScript,tinganho/TypeScript,jwbay/TypeScript,evgrud/TypeScript,evgrud/TypeScript,mcanthony/TypeScript