write files for svm light