replace spaces by tabs