Fixed issue when dropping files without an extension. Fixes #1