[fix] SaveFileState was broken by ba7a58c