Ok, so now I'm actually very confused, and I hope someone can possibly shed some light on this. Very confused, and don't really want to waste time if this is a bug maybe in the software.. But I tested the script on the following platforms/versions using the exact same script, but using different .exr plugins for each one. Here's the results I got:
PcX64 CS5 openEXR_Alpha.8bi works
OSX CS5 openEXR_Alpha.8bi (mac) works
PcX64 CS6 openEXR_Alpha.8bi Does Not work
OSX CS6 openEXR_Alpha.8bi (mac) works
PcX64 CC openEXR_EZ.8bi works
OSX CC openEXR_EZ.8bi (mac) untested..
So I'm confused, my script all-together just breaks when I run it on any PC using CS6. I've tried six different PC's each having the same issue. It freezes on saving out a file. I hope that someone from Adobe can possibly recognize this issue maybe or something? I don't know, it's really hard for me. I wrote this code, and use it every day at work, and it's starting to get a little frustrating here because I'm completely lost at this point. ExtendScript toolkit isn't very helpful when it comes to telling me what the error is....