Fixed permissions on customise-os.sh.
String encoding fix for peslib.py.