Backport ENG-7308 as 1 commit.  Make explain work in VMC.
ENG-7335 sqlcmd ignores 1 FILE command after a file contains an error.

(cherry picked from commit 5def3a2f6210db1998b1872833ee503cb4ec6e1b)