2to3: apply exec fixer results.

This changes the `exec` command to the `exec` function.
Merge pull request #3049 from charris/2to3-exec

2to3: apply exec fixer results.