Implement `isExtensionOf`
We recently tried to promote the usage of functions like takeExtension
(s), which lead to a case where a more involved function like isExtensionOf
(as defined in Haskell) was needed.
> ".tar.gz" `isExtensionOf` "filepath-1.0.0.tar.gz"
True