Add xml encoding tag and tabs to spaces

Add missing xml version and encoding line
Switch tabs to spaces.