[[ Bug 12081 ]] OSX picking wrong file extension for filenames with two '.' characters
Merge pull request #585 from runrevali/bugfix-12081

[[ Bug 12081 ]] OSX picking wrong file extension for filenames with two ...