I had the same problem. I used vi -b [filename] to see the added characters. I found the control characters ^@ and ^M. Then in vi type :1,$s/^@//g to remove the ^@ characters. Repeat this command for ^M. WARNING: To get the "blue" control characters press [Ctrl+v] then [Ctrl+M] or [Ctrl+@]. Save and exit vi.