script/update_tftp bugfix: delete all files before copy device tree