replace leading spaces characters with tabs