Use new Palaso PathUtilities methods

This allows the changed sections of the code to work on Linux as
well and improves readability.
Merge pull request #40 from ermshiperete/UsePathUtilities

Use new Palaso PathUtilities methods