Make sure options are written out before snapshotting/restoring