Support for new Grunt-0.4 file API, fixes #6