strip lines when reading symbol files

Avoids unsightly trailing newlines in the database.