Fix missing 'end' marker in spawn.lua.