Make sure we check files have extensions.
Merge pull request #81 from robertmaynard/extension_checking

Make sure we check files have extensions.