(PUP-30) Fix problem with changed behavior in StringScanner.scan_until

A scan_until using a . with the intent of matching all characters
must in later rubies use a pattern with //m to make it match.