Enable threading for exr loading and saving

The original code was only using 1 thread. Tested on OSX and Linux, with OpenEXR 2.0