Adapt to the new RAWInputSource API.