The KVS library doesn't have a truncate operation, so I wrote a default slow one.  Let me know if this isn't the right solution.