Modification time not updated properly.