save changes to disk; fixes #2