metricsview wordlist: remove the getline() call and convert over to glib IO.