fix CanonicalizePath going past StringPiece length + test