Fix PathResourceTests on Windows

Fix PathResourceTests so that paths are accessed in a platform
independent manor.

Issue: SPR-10770
Merge pull request #320 from beamerblvd/SPR-10770

# By Nick Williams
* SPR-10770:
  Fix PathResourceTests on Windows