Make exceptions Python 3 compatible

(Thanks to Andy Seit.)
Make firefox_binary.py and firefox_profile.py not executable