Fixed TGPlugin.render method to support unicode template names in py2k.