Better implementation for default path bug fix.

Yet again I feel that I must profess my love of the Java 7+ Path API.

[1327]