opencl backend: handle failure to open files more gracefully