utility method for append path, fixes #414
Merge pull request #415 from koenpunt/fix-path-concat

utility method for append path, fixes #414