Make file dirty when you change the parent of a folder/image