Fix for the case where the file has no extension
Merge branch 'master' of github.com:rehno-lindeque/stitch