tools: LogAnalyzer fixes to work with pipes as input

seek is not supported on pipes (and not needed in this case)
tell is also not supported, so count bytes on our own