COUCHDB-2164 encoded attachment name

that's it, nothing fancy