Fixed crashing bug in EVDS_Object_SaveToFile()