Changed replace to regular expression rather than having duplicate copies of the file.
Merge pull request #927 from BenjaminNeilDavis/issue-830-grunt-bump

Need to update grunt bump. Fixes #830