[API 2] remove with persist_to crashes

Tracking this issue here: https://issues.couchbase.com/browse/PCBC-318

Cheers, Brett