2to3: apply `execfile` fixer results.

The execfile command is gone in Python 3. The fix is to read the file,
then compile and exec the result. Closes #3051 .