fix create docs with inline text attachments

should be failed on android due to https://github.com/couchbaselabs/cblite-tests/issues/13
https://github.com/couchbase/couchbase-lite-android/issues/150