Rename methods in CBLAttachment to match API spec.