Fix for Grunt 0.4.0rc5

The newest rc of grunt 0.4 removed `this.file`.

See here: https://github.com/gruntjs/grunt/issues/606