`Pattern::escape` should also use BytesContainer