Format paths according to RFC 6570

address #115.
Merge pull request #123 from dwcramer/rfc6570

Format paths according to RFC 6570