Format spaces to tabs