Fixed issue with regex not properly handling dot in file names without e...

...xtensions

Here is a link to test the regex http://regex101.com/r/iI6oQ0/2
There's already a `FileUtils._getFilenameWithoutExtension()` utility... maybe we should just make that public and use it here?