KeyValue#save handles failure cases