Fix issue #302 : Issue with generated resources containing dot
characters but no extension