test_kmeans.cpp: add fclose