Add profiling flags to io-streams.