Fixes an issue with image caching

After building several times, some users experience an error related to https://github.com/jgable/gulp-cache/issues/31. This seems to fix it.