Update system_cycles_material_text_node.py

Imported code from 2.67 adaptation: http://blenderartists.org/forum/showthread.php?247271-Cycles-Automatic-Material-Textures-Node&p=2375077&viewfull=1#post2375077