Stop flagging files with dots as having an extension.

Now, we look for a specific extension.  This could still be improved, a lot.