Wait for process to end in Dolt::Git.shell

Also fix tests for archiver to stub the right method (open was renamed
to shell a while back - the missing wait in the process code masked this
error)
Up version