Map a file directory to a CouchDB / Cloudant instance.