lib: Moved enum iostream_rawlog_flags to public iostream-rawlog.h This allows using [io]stream-rawlog.h APIs directly.
lib: iostream-rawlog now writes to ostreams instead of directly to fds.
iostream-rawlog: Added possibility to save input/output to the same file.
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways.
Added rawlog i/ostreams.