Remove whitespace and convert spaces to tabs.