Undo change made in g0bd279a830c8f86a16ce32b0e302c87dce207a31 where FileUtil.getFileExtension stop returning the last text after the last dot as the extension.
Fix related change.