Fix #19664 -- Illegal Characters In Session Key Give Fatal Error On File Backend Only