Fix loading filenames from a text file

When the code to read a list of filenames from a text file was ported to
use GFile and GIO, it read the whole file as one entry and did not split
the filenames by line. Use GDataInputStream to read per-line as before.