Fix os.get_exec_path() (code and tests) for python -bb

Catch BytesWarning exceptions.
2 files changed