EP-283: Add format validation to avatar field.