python3 compatibility

On Archlinux python defaults to python 3. So this change allows to run the script with python 3 (there is no execfile in python3).