Fix Linux-dependent path check in PlannerBenchmarkTest

Thank you for reporting this issue and supplying a PR to fix it.

Unfortunately, we can't import Path or Paths, because that's since 1.7 and currently optaplanner's minimum Java version is 1.6.
I'll merge and fix or recreate this commit in a java 6 safe way (and credit you accordingly of course). Thanks