Add ability to save state.

State is saved in the file ~/.syncer.