fix the "extends" swig directive

the render function was missing the 'filename' option