Try to parse paths as paths in addition to as URIs

This would supersede #301, unless there are still extant paths that it couldn't handle.