Doesn't work for files that have no extension

Issue #1 resolved
Will Kiefer
repo owner created an issue

The code to copy the added/removed file's file extension over to the temp file fails when the added/removed file has no file extension.