Hi Mathieu,
After doing more playing, it appears that even though the mdlRaster_fileOpen is returning SUCCESS, it isn't actually successful. It is returning an invalid raster handle. That appears to be the issue. I was able to get it to work.
Thanks for your help!