Fixes IsADirectoryError on startup when the app tried to atomically write its change-tracking state to /data/state itself.