Update f_py2exe.py

Compatibility with python3 convert string to byte