implemented capped for non-appending writes
implemented capped streams