Fix the dumpAST function to work in batch mode.
Fix the dumpAST function to work in batch mode.

Also removes the unnecessary `Invocation` parameter.
allevato/swift,shahmishal/swift,glessard/swift,gribozavr/swift,tkremenek/swift,tkremenek/swift,shahmishal/swift,apple/swift,sschiau/swift,nathawes/swift,apple/swift,stephentyrone/swift,nathawes/swift,tkremenek/swift,JGiola/swift,parkera/swift,karwa/swift,xwu/swift,harlanhaskins/swift,jmgc/swift,nathawes/swift,glessard/swift,xedin/swift,austinzheng/swift,jmgc/swift,roambotics/swift,practicalswift/swift,amraboelela/swift,danielmartin/swift,austinzheng/swift,CodaFi/swift,amraboelela/swift,nathawes/swift,CodaFi/swift,jmgc/swift,devincoughlin/swift,gregomni/swift,shajrawi/swift,shahmishal/swift,practicalswift/swift,hooman/swift,allevato/swift,parkera/swift,jckarter/swift,airspeedswift/swift,apple/swift,jmgc/swift,devincoughlin/swift,roambotics/swift,allevato/swift,hooman/swift,amraboelela/swift,jckarter/swift,lorentey/swift,shahmishal/swift,devincoughlin/swift,austinzheng/swift,harlanhaskins/swift,gribozavr/swift,CodaFi/swift,apple/swift,JGiola/swift,harlanhaskins/swift,danielmartin/swift,gribozavr/swift,CodaFi/swift,apple/swift,xedin/swift,CodaFi/swift,airspeedswift/swift,devincoughlin/swift,ahoppen/swift,airspeedswift/swift,roambotics/swift,danielmartin/swift,gregomni/swift,JGiola/swift,sschiau/swift,gregomni/swift,xwu/swift,karwa/swift,sschiau/swift,lorentey/swift,rudkx/swift,stephentyrone/swift,hooman/swift,xedin/swift,sschiau/swift,karwa/swift,allevato/swift,nathawes/swift,allevato/swift,ahoppen/swift,shajrawi/swift,gregomni/swift,lorentey/swift,amraboelela/swift,stephentyrone/swift,parkera/swift,tkremenek/swift,aschwaighofer/swift,xedin/swift,austinzheng/swift,gribozavr/swift,roambotics/swift,shahmishal/swift,atrick/swift,harlanhaskins/swift,jmgc/swift,rudkx/swift,parkera/swift,austinzheng/swift,airspeedswift/swift,karwa/swift,devincoughlin/swift,jckarter/swift,harlanhaskins/swift,stephentyrone/swift,danielmartin/swift,CodaFi/swift,glessard/swift,allevato/swift,hooman/swift,practicalswift/swift,lorentey/swift,aschwaighofer/swift,xwu/swift,tkremenek/swift,xedin/swift,parkera/swift,xedin/swift,gribozavr/swift,JGiola/swift,airspeedswift/swift,karwa/swift,aschwaighofer/swift,amraboelela/swift,lorentey/swift,shahmishal/swift,nathawes/swift,xwu/swift,sschiau/swift,xwu/swift,benlangmuir/swift,danielmartin/swift,benlangmuir/swift,benlangmuir/swift,shajrawi/swift,hooman/swift,sschiau/swift,aschwaighofer/swift,benlangmuir/swift,roambotics/swift,practicalswift/swift,jckarter/swift,hooman/swift,lorentey/swift,glessard/swift,danielmartin/swift,amraboelela/swift,parkera/swift,gregomni/swift,practicalswift/swift,jckarter/swift,sschiau/swift,rudkx/swift,shahmishal/swift,benlangmuir/swift,practicalswift/swift,aschwaighofer/swift,atrick/swift,shajrawi/swift,airspeedswift/swift,parkera/swift,danielmartin/swift,roambotics/swift,atrick/swift,amraboelela/swift,ahoppen/swift,gribozavr/swift,atrick/swift,devincoughlin/swift,shajrawi/swift,karwa/swift,jckarter/swift,atrick/swift,harlanhaskins/swift,jmgc/swift,harlanhaskins/swift,shajrawi/swift,xwu/swift,allevato/swift,atrick/swift,lorentey/swift,ahoppen/swift,JGiola/swift,shahmishal/swift,nathawes/swift,lorentey/swift,xedin/swift,gribozavr/swift,benlangmuir/swift,glessard/swift,karwa/swift,aschwaighofer/swift,practicalswift/swift,stephentyrone/swift,ahoppen/swift,airspeedswift/swift,stephentyrone/swift,devincoughlin/swift,tkremenek/swift,xwu/swift,stephentyrone/swift,rudkx/swift,jmgc/swift,CodaFi/swift,devincoughlin/swift,apple/swift,hooman/swift,glessard/swift,shajrawi/swift,karwa/swift,xedin/swift,austinzheng/swift,sschiau/swift,tkremenek/swift,rudkx/swift,JGiola/swift,gribozavr/swift,aschwaighofer/swift,parkera/swift,rudkx/swift,shajrawi/swift,jckarter/swift,ahoppen/swift,practicalswift/swift,austinzheng/swift,gregomni/swift