only writes to the device if the state changes
Merge branch 'master' of github.com:drystone/fhtfs