Fix fired event when file is moved