Prevent file version being updated twice per save action