*bootloader/image: use mktemp. cleanup