2.0.3: persist_write only if something changed