Fix Shader.py to use binary strings where needed.