Don't use private os function calls
Don't use private os function calls

Change-Id: I3cc760c86242243350765efa3b2d374eeda716e6
Reviewed-on: http://review.couchbase.org/73545
Reviewed-by: Eben Haber <d1abc94d70526bfcf3e4b0ce727cb9a6fbb52a3a@couchbase.com>
Tested-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>

couchbase/couchbase-cli,couchbase/couchbase-cli