fixed filename buffer in init.c, from result<i>.tmp to resulti.tmp