Fix conversion error for call 'cbc view -c ...'
Fix conversion error for call 'cbc view -c ...'

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

Change-Id: I4a45f8989b1f477e2a3f6f430f2d9902aa8ef047
Reviewed-on: http://review.couchbase.org/27765
Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>

trondn/libcouchbase,PureSwift/libcouchbase,uvenum/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,maxim-ky/libcouchbase,mody/libcouchbase,signmotion/libcouchbase,signmotion/libcouchbase,maxim-ky/libcouchbase,couchbase/libcouchbase,mody/libcouchbase,senthilkumaranb/libcouchbase,PureSwift/libcouchbase,mnunberg/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,uvenum/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,avsej/libcouchbase,uvenum/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,trondn/libcouchbase,senthilkumaranb/libcouchbase,maxim-ky/libcouchbase,PureSwift/libcouchbase,trondn/libcouchbase,senthilkumaranb/libcouchbase,kojiromike/libcouchbase,mnunberg/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,uvenum/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,trondn/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase,trondn/libcouchbase,senthilkumaranb/libcouchbase,mnunberg/libcouchbase,maxim-ky/libcouchbase,PureSwift/libcouchbase,mody/libcouchbase,kojiromike/libcouchbase