Update all `query_exec` references.

This updates all references (I could find) to use the new `query_exec`
signature.