convert spaces to tab