converting spaces to tabs