Fixes Typo in deprecated.jl

- endswidth -> endswith