convert spaces to tab character