Fixed Coverity reported issue.
Fixed Coverity reported issue.

CID 11864: Wrapper object use after free (WRAPPER_ESCAPE)
Assigning: "szFilename" = "path.c_str()", which extracts wrapped state from local "path".



tomasthoresen/osg,tomasthoresen/osg,tomasthoresen/osg,openscenegraph/osg,scrawl/osg,jtorresfabra/osg,marchelbling/osg,artoolkit/osg,tomasthoresen/osg,jtorresfabra/osg,marchelbling/osg,artoolkit/osg,jtorresfabra/osg,openscenegraph/osg,artoolkit/osg,openscenegraph/osg,jtorresfabra/osg,scrawl/osg,marchelbling/osg,artoolkit/osg,marchelbling/osg,openscenegraph/osg,scrawl/osg,scrawl/osg