I agree `path` should not be encoded since it's a reference to a file on the filesystem, not a part of the URL. I changed the code and added it to the doc.