replacing spaces by tabs