Make base64_convert less Windows-ish by lifting the limit of
50K max. number of lines read from stdin. Fix some bugs while
at it. The max line length is now 256K as stated (it was coded
as 256M). FWIW our current LINE_BUFFER_SIZE is less at 0x30000.