core: tabs to spaces