make sure svs.demofile is set to NULL after closing it