convert spaces into tabs as per CakePHP standard