file_stream::open: Make openFlags == 0 the default

Also fixes a bug with flags parsing in open_inner.
Add ut-compressed_stream read/write_only tests
Add tests to CMakeLists