fixed EXR writer for half datatype