check luaL_dofile  return value

check luaL_dofile  return value