Use Path instead of File in the various test helpers

Description

This is an helpful step towards Lucene 5 integration.

Environment

None

Assignee

Gunnar Morling

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Minor
Configure