git p4: fix writable file after rename or copy