db/fixup_kernel.sh: write to the temporary DB instead of the current one