Refactor the code so that the replacement is done in a submethod
using `re.sub` on the entire content of the file, rather than per
line.
Use the refactored method to also do the replacement in the VERSION
file.
Add replacement in the dev-plugin file in the Documentation.
Change-Id: I5ca81e5c290ba4635a92b56b1680e906429b11c8