COUCHDB-2346 - Fix for long database names formatting improperly.