Fix filenames with multiple dots #90

Signed-off-by: Tom Diggle <tom@tomdiggle.com>
Merge pull request #91 from tomdiggle/master

Fix filenames with multiple dots #90