Fix detection of gnuplot files