Do not store whole gro files in memory

The "except_last" function reads the file but the last line. Notice
that, now, reading of a gro file stops at the first empty line.