Bound the number of lines if int is 4 bytes.

This is a temporary safeguard, better to exit than to overflow
the signed int and point to random things and possibly corrupt the file.