Bug 893276: Only write simple-storage json file if the data has changed.

When this landed previously tests were randomly failing because the tests were using an interval short enough that it could trigger writing the data file before a previous attempt to write had completed. This switches to a timeout rather than an interval that we only start when an attempt to write has completed.