fixing xml version issue with bash sed script