Add support for multiple dots in extension (grunt#file)

Hi,

I created a PR for Issue #1060. This is for supporting multiple dots in file extensions, f.e. in versioned file names like `file.x.y.z.ext`. Currently the 'ext' option does not consider this case and cuts the filename to `file.ext` which is unexpected behaviour.