Format indentation correctly and make all tabs as spaces.