2to3: apply exec fixer results.

This changes the `exec` command to the `exec` function. Closes #3048 .