Fix profiler write bytes counter in storio