Add reader field to Logstream type
Use a gzip reader if needed when opening logs

Uses file extension to guess whether a log file is gzipped.

If so, a gzip reader is used. If not, the file descriptor is used
as the Logstream.reader.