Make encode.py and decode.py executable