Was able to narrow this down to a small block of code:
Using oFS As New IO.FileStream(Path:=sPageImage, mode:=IO.FileMode.Create)
oPage.Resources.Images.Item(1).Save(stream:=oFS,
…...FileStream(path:=sPageImage, mode:=IO.FileMode...Using oFS As New IO.FileStream(path:=sPageImage, mode:=IO.FileMode...