Extract filename extension from path
find extension for more types of paths
Merge pull request #187 from rampantmonkey/path_extension

Extract filename extension from path