(vfs_translate_path): return const char *.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use vfs_translate_path() to avoid extra string duplication.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Remove redundant checks for g_strdup().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>