escape paths before sending to riak. fixes #3