replace slashify function with toNativeSeparators

Change-Id: I619823767e02261e75d441e3924fd111a0ff7cb7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>