Fix String#chomp wrong check for separator type