Add UTF8 encoding to kybjob.py and nldjob.py