kernel_update: check the existence of the file before touching it