Python PEP-8 conformity

Hello,

This fixes a 2-indent instead of the regular 4-indent spaces (tab4 macro) used everywhere else in the python code in function emitFunctionShadowHelper.
This fixes an error with doctest wanting pep8 indentation.


I think `$(SCRIPTPREFIX)$*.py` would get us the generated script filename without having to run sed each time.