CBD-958:  need to escape SPACES in dir name

Change-Id: I04553e1aefc42443a33ae01ff4c3ce1378043419
Reviewed-on: http://review.couchbase.org/27786
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>