core: Remove Path class from Compat module

Removed the Path class from the Compat module

Change-Id: I2a4a1e051050196de692ca76e1d1cd8e51b0c86d
Signed-off-by: Tal Nisan <tnisan@redhat.com>