Fixed #18719 -- Made force_bytes more consistent with force_text.