Fix plugin savedata saving/loading