Updates pom.xml.
Requires specifying a charset when reading from file.