Fix the process of retrieving an extension of a file path.
Add a function which retrieves an extension of a file path
because `filepath.Ext` returns the suffix beginning at the
final dot in the final element of path and we can not retrieve
the extension of `foo.go.html`. #14
Merge pull request #26 from yosssi/fix-ext

Fix the process of retrieving an extension of a file path.