When using the following code one line in the file is being changed for some reason
dpa_tree = etree.parse(dpaFile)
dpa_root = dpa_tree.getroot()
dpa_tree.write(dpaFile, encoding='UTF-8', xml_declaration=True, method='xml', standalone=True)
In the original line, the 

towards the end of the line is being changed to 

for some reason. How do I prevent this change from occurring?
The orginal line
<Setting Value="rO0ABXNyAGpjb20udmVjdG9yLmNmZy5nZW4uY29yZS5nZW5jb3JlLmludGVybmFsLmFvdi5BdXRv
bWF0a....
changes to
<Setting Value="rO0ABXNyAGpjb20udmVjdG9yLmNmZy5nZW4uY29yZS5nZW5jb3JlLmludGVybmFsLmFvdi5BdXRv bWF0a....
(the ...
at the end of the lines is just to indicate I have not posted the entire line.)