Path.equals behaves different on Windows and Linux