url encode - to handle functions etc. in graphite