Bugfix in FileHelpers#trimFileExtensionAndDot(String)

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>