Added extra check for PolyCurves

In some cases pickle crashes for exporting polycurves; in that cases
polycurves will be converted to nurbscurve and then sent to export