Handle XML files

For some reasons when we trying to save XML file in IE as text/plain its content is wrapped with html tags.