[#50154295] Update V8 scripts for latest OpenStudio

Also add some debugging output.
[#50154295] Prevent exception use while parsing model

Hopefully this fixes yet another issue where MacOS "forgets" how to
handle exceptions when they are thrown (and caught) from within C++
while being called from Ruby.