COUCHDB-259 allow content_type of attachments to be changed via stub