Fix save model bug in LIBSVM wrap