Fixes typo in deprecated.jl

I would assume that ends_with should map to endswith rather than endswidth, as only the former is actually defined as a function.

- endswidth -> endswith