Mask out : in pathname

Change-Id: Ibca63e36438a516f64fe7972d2dba64379158483
Reviewed-on: http://review.couchbase.org/31122
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>