fix path encoding in couchbeam