Fix String#{chars,bytes,lines} for 2.0