Extract variable
Correct execfile implementation for Python 2.6. Fixes #236.