Convert tabs to spaces before saving the document.