Use String#end_with? instead of aliased #ends_with?

String#end_with? is a variadic function. There are conflicting
definitions for #ends_with and one of them is not a variadic function
(which makes me sad). Just use the actual method to avoid headaches.