replacing spaces with tab