CAC-1 Fixed how URIs are escaped when code is generated.