Remove dirty file before put the good version