dsn: copy out capath

Change-Id: I478a0720acb5fa4d8753d445497328073c4b693f
Reviewed-on: http://review.couchbase.org/38373
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>