if line has been indented with spaces, replace them with tabs