ER/API: unicode indices not supported on table formats in py2 (GH5386)

closes #5386