Fix bug in load-file-to-list.

The read command at the end of a file fails and reports "End of file
during parsing".